package com.lzy.system.organization.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;

/**
 * <p>
 * 角色对应导航
 * </p>
 *
 * @author lcc
 * @since 2023-12-06
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel(value = "SysRoleNav对象", description = "角色对应导航")
public class SysRoleNavAddDTO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("角色id")
    @NotNull(message = "角色id不能为空")
    private Integer role_id;

    @ApiModelProperty("导航id")
    @NotNull(message = "导航id不能为空")
    private Integer nav_id;
}
